GBML manual / Constants

EASE_LINEAR

The same speed from start to finish - no speeding up and no slowing down.

Syntax

EASE_LINEAR: constant

Description

The steady curve for tween, tween_to and tween_from_to: the same speed from the start to the end, with no speeding up and no braking. A quarter of the time gets you a quarter of the way.

Example

tween_to(x, x + 100, 60, EASE_LINEAR);

The walker moves 100 pixels to the right at one steady speed. Good for things that should feel mechanical, like a conveyor, or for a bar that fills evenly.

See also: tweentween_totween_from_to